package hxs.events.flash.text;
import flash.display.Stage;
import flash.events.TextEvent;
import flash.text.TextField;
import hxs.extras.FlashEventsStore;
import hxs.extras.FlashSignal;
import hxs.events.flash.events.EventDispatcherEvents;
/**
 * ...
 * @author Tony Polinelli
 */
import flash.display.DisplayObject;
import flash.events.Event;

class TextfieldEvents extends EventDispatcherEvents
{
	public function new(target:TextField) 
	{
		super(target);
	}
	
	public static function getEvents(target:TextField):TextfieldEvents
	{
		return cast FlashEventsStore.getEvents(target);
	}
	
	/**/

	public var change(getChange, never):FlashSignal<Event>;
	private function getChange():FlashSignal<Event>
	{
		return cast getNativeSignal(Event.CHANGE);
	}

	public var link(getLink, never):FlashSignal<TextEvent>;
	private function getLink():FlashSignal<TextEvent>
	{
		return cast getNativeSignal(TextEvent.LINK);
	}
	
}